//
//  DraftEntity.h
//  Weibbo
//
//  Created by ifuninfo on 13-6-9.
//  Copyright (c) 2013年 Omnivores. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EntityBase.h"
@interface DraftEntity : EntityBase
{
    NSString        *_entityId;
    NSString        *_titleText;
    NSString        *_titleImageName;
    NSTimeInterval  _createTime;
    NSTimeInterval  _modifyTime;
    
    NSMutableArray  *_draftList;
    BOOL             _canbeModified;
}
@property(nonatomic,assign)BOOL  canBeModified;
@property(nonatomic,retain)NSString *entityId;
@property(nonatomic,retain)NSString  *titleText;
@property(nonatomic,retain)NSString  *titleImageName;
@property(nonatomic,assign)NSTimeInterval createTime;
@property(nonatomic,assign)NSTimeInterval modifyTime;
@property(nonatomic,retain)NSMutableArray  *draftList;
-(id)initWithInfo:(NSDictionary *)info;
-(void)setModifyTime:(NSTimeInterval)modifyTime;
-(void)synchronise;

- (int)count;
@end
